<?php
define('APP_NAME', 'thinkapk');
define('THINKAPK_PATH', str_replace('apps', '', dirname($_SERVER['SCRIPT_FILENAME'])));
define('APP_PATH', THINKAPK_PATH.'apps/thinkapk/');
require(THINKAPK_PATH.'library/ThinkAPK.php');
//实例化一个网站应用实例 
$App = new App();
$App->run();
?>